﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Medianamik.UI.Controls
{
    [ToolboxData("<{0}:ConfirmedDeleteButton runat=server></{0}:ConfirmedDeleteButton>")]
    public class ConfirmedDeleteButton : ConfirmedImageButton
    {
        public override string ImageUrl
        {
            get
            {
                return "/medianamik/images/Icones/Ico_Supprimer.gif";
            }
            set
            {
                throw new InvalidOperationException("Cannot set ImageUrl for this control");
            }
        }

        public override string DisabledImageUrl
        {
            get
            {
                return "/medianamik/images/Icones/Ico_SupprimerInactif.gif";
            }
            set
            {
                throw new InvalidOperationException("Cannot set DisabledImageUrl for this control");
            }
        }
    }
}
